GtkMenuPositionFunc: Correct annotations
authorMatthias Clasen <mclasen@redhat.com>
Wed, 10 Dec 2014 03:56:19 +0000 (22:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 10 Dec 2014 03:56:39 +0000 (22:56 -0500)
x and y are inout, not just out.

https://bugzilla.gnome.org/show_bug.cgi?id=674537

README.in
gtk/gtkmenu.h

index 01dcd2ae20eea1b918b6bf3558e772b5207e649d..161eb58bdf4a2aee0e8072a2f6fb177bac920837 100644 (file)
--- a/README.in
+++ b/README.in
@@ -82,6 +82,11 @@ Release notes for 3.16
 * GTK+ no longer uses gtk-update-icon-cache during its build. The
   --enable-gtk2-dependency configure option has been removed.
 
+* The introspection annotations for the x and y parameters of
+  GtkMenuPositionFunc have been corrected from 'out' to 'inout'.
+  If you are using such a function from language-bindings, this
+  may require adjustments.
+
 Release notes for 3.14
 ======================
 
index d854ed25ea9d1a2099f4f4d1f1be567f64c35d12..bf81a895d0f8a4dbee0a95ce86ef0831e106fed1 100644 (file)
@@ -66,9 +66,9 @@ typedef enum
 /**
  * GtkMenuPositionFunc:
  * @menu: a #GtkMenu.
- * @x: (out): address of the #gint representing the horizontal
+ * @x: (inout): address of the #gint representing the horizontal
  *     position where the menu shall be drawn.
- * @y: (out): address of the #gint representing the vertical position
+ * @y: (inout): address of the #gint representing the vertical position
  *     where the menu shall be drawn.  This is an output parameter.
  * @push_in: (out): This parameter controls how menus placed outside
  *     the monitor are handled.  If this is set to %TRUE and part of